package com.mengshu.platform.web.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 *     登录表单
 * </p>
 *
 * @author liuning
 * @date 9:36 上午 2022/2/5
 */
@Data
public class LoginReq implements Serializable {
    private static final long serialVersionUID = -1625220025247675424L;
    // 登录名
    @NotBlank(message = "用户名不能为空")
    private String name;

    // 登录密码
    @NotBlank(message = "密码不能为空")
    private String password;
}
